﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DPS.Prototype.Policy;
using DPS.Prototype.PolicyBase;

namespace DPS.Prototype.PolicyBase.Manager
{
    /// <summary>
    /// The only entrance to control PolicyMaker
    /// </summary>
    public class PolicyMakerManager
    {
        private static PolicyMakerManager _innerInstance = new PolicyMakerManager();
        private PolicyMakerBase policyMaker;

        public PolicyMakerBase PolicyMaker
        {
            get { return this.policyMaker; }
        }

        public PolicyMakerManager()
        {
            this.policyMaker = new DefaultPolicyMaker();
        }
        
        
        public static PolicyMakerManager Current
        {
            get { return PolicyMakerManager._innerInstance; }
        }
    }
}
